p1 = 1 * 1e-3;

//donnees geometriques

pi      = 3.1415;
mm      = 1e-3;
k       = 1.5;
bl      = 100 * mm;
bk      = k * bl;
c       = 30 * mm;
din     = 200 * mm;
largint = din - bl;
largext = din + bl;
largt   = 500 * mm;
longt   = 600 * mm;
long    = largt + 2 * c;
c2      = 2 * mm ;

x1       = ((largext/2.)^2 -(bk-c)^2)^.5;
x2       = long/2.-bk-largint/2.;
x3       = ((largext/2.)^2 -(bk-c2)^2)^.5;

h1 = 0 * mm;
h2 = 1 * mm;
h3 =  25* mm;
h4 = 35 * mm;
h5 = 130 * mm;

/* generation des differentes couches d'elements et maillage des surfaces */

/* COUCHE 1 */

Point(1000001) = { -largint/4 , 0 , h1 , p1 };
Point(1000002) = {  largint/4 , 0 , h1 , p1 };
Point(1000003) = { -largint/4 , x2/2. , h1 , p1 };
Point(1000004) = {  largint/4 , x2/2. , h1 , p1 };
Point(1000005) = { -largint/2. , 0 , h1 , p1 };
Point(1000006) = { largint/2. , 0 , h1 , p1 };
Point(1000007) = { -largint/2.+.0000001 , x2+.0000001 , h1 , p1 };
Point(1000008) = { largint/2.+.0000001 , x2 , h1 , p1 };
Point(1000009) = { 0   , x2 , h1 , p1 };
Point(1000010) = { -largint/2. + largint/2*Sin(Pi/6), x2+ largint/2*Cos(Pi/6) , h1 , p1 };
Point(1000011) = { largint/2.-  largint/2*Sin(Pi/6) , x2+largint/2*Cos(Pi/6)  , h1 ,  p1 };
Point(1000012) = { -largext/2. , 0 , h1 , p1 };
Point(1000013) = {  largext/2. , 0 , h1 , p1 };
Point(1000014) = { -largext/2. , long/2. - bk , h1 , p1 };
Point(1000015) = {  largext/2. , long/2. - bk , h1 , p1 };
Point(1000016) = {  -x1        , long/2-c , h1 , p1 };
Point(1000017) = {   x1        , long/2-c , h1 , p1 };
Point(1000018) = {  -x3        , long/2-c2 , h1 , p1 };
Point(1000019) = {   x3        , long/2-c2 , h1 , p1 };
Point(1000022) = { 0 , long/2. - bk , h1 , p1 };
Point(1000023) = {  largint/8 , x2/2 , h1 , p1 };
Point(1000024) = { -largint/8 , x2/2. , h1 , p1 };
Point(1000025) = {  largint/8 , 0 , h1 , p1 };
Point(1000026) = { -largint/8 , 0 , h1 , p1 };
Point(1000027) = { -longt/2.  , 0 , h1 , p1 };
Point(1000028) = { longt/2.   , 0 , h1 , p1 };
Point(1000029) = { -longt/2.  , largt/2. , h1 , p1 };
Point(1000030) = { longt/2.   , largt/2. , h1 , p1 };
mult1         =1.5;
Point(1000031) = { -longt/2.  , largt/2.* mult1 , h1 , p1 };
Point(1000032) = { longt/2.   , largt/2.* mult1 , h1 , p1 };
Point(1000033) = { -longt/2.  , largt/4. , h1 , p1 };
Point(1000034) = { longt/2.   , largt/4. , h1 , p1 };

Line(1000101) = {1000002,1000004};

Line(1000103) = {1000003,1000001};
Line(1000104) = {1000002,1000006};
Line(1000105) = {1000006,1000008};
Line(1000106) = {1000007,1000005};
Line(1000107) = {1000005,1000001};
Line(1000108) = {1000006,1000013};
Line(1000109) = {1000012,1000005};
Line(1000110) = {1000013,1000015};
Line(1000111) = {1000015,1000008};
Line(1000112) = {1000007,1000014};
Line(1000113) = {1000014,1000012};
Circle(1000114) = {1000008,1000009,1000011};
Circle(1000115) = {1000011,1000009,1000010};
Circle(1000116) = {1000010,1000009,1000007};

Line(1000117) = {1000016,1000017};
Circle(1000118) = {1000015,1000022,1000017};
Circle(1000119) = {1000016,1000022,1000014};
Line(1000120) = {1000011,1000017};
Line(1000121) = {1000010,1000016};
Line(1000122) = {1000018,1000019};
Circle(1000123) = {1000017,1000022,1000019};
Circle(1000124) = {1000018,1000022,1000016};
Line(1000125) = {1000003,1000024};
Line(1000126) = {1000024,1000023};
Line(1000127) = {1000023,1000004};
Line(1000128) = {1000004,1000008};
Line(1000129) = {1000023,1000011};
Line(1000130) = {1000024,1000010};
Line(1000131) = {1000003,1000007};
Line(1000132) = {1000001,1000026};
Line(1000133) = {1000026,1000025};
Line(1000134) = {1000025,1000002};
Line(1000135) = {1000025,1000023};
Line(1000136) = {1000026,1000024};
Line Loop(1000137) = {1000128,-1000105,-1000104,1000101};
Plane Surface(1000138) = {1000137};
Line Loop(1000139) = {1000101,-1000127,-1000135,1000134};
Plane Surface(1000140) = {1000139};
Line Loop(1000141) = {1000135,-1000126,-1000136,1000133};
Plane Surface(1000142) = {1000141};
Line Loop(1000143) = {1000136,-1000125,1000103,1000132};
Plane Surface(1000144) = {1000143};
Line Loop(1000145) = {1000107,-1000103,1000131,1000106};
Plane Surface(1000146) = {1000145};
Line Loop(1000147) = {-1000131,1000125,1000130,1000116};
Plane Surface(1000148) = {1000147};
Line Loop(1000149) = {-1000130,1000126,1000129,1000115};
Plane Surface(1000150) = {1000149};
Line Loop(1000151) = {-1000114,-1000128,-1000127,1000129};
Plane Surface(1000152) = {1000151};
Line Loop(1000153) = {-1000111,-1000110,-1000108,1000105};
Plane Surface(1000154) = {1000153};
Line Loop(1000155) = {-1000118,1000111,1000114,1000120};
Plane Surface(1000156) = {1000155};
Line Loop(1000157) = {1000117,-1000120,1000115,1000121};
Plane Surface(1000158) = {1000157};
Line Loop(1000159) = {1000117,1000123,-1000122,1000124};
Plane Surface(1000160) = {1000159};
Line Loop(1000161) = {1000112,-1000119,-1000121,1000116};
Plane Surface(1000162) = {1000161};
Line Loop(1000163) = {-1000109,-1000113,-1000112,1000106};
Plane Surface(1000164) = {1000163};

Line(1000165) = {1000012,1000027};
Line(1000166) = {1000027,1000033};
Line(1000167) = {1000033,1000029};
Line(1000168) = {1000029,1000016};
Line(1000169) = {1000029,1000031};
Line(1000170) = {1000031,1000032};
Line(1000171) = {1000032,1000030};
Line(1000172) = {1000030,1000034};
Line(1000173) = {1000034,1000028};
Line(1000174) = {1000028,1000013};
Line(1000175) = {1000015,1000034};
Line(1000176) = {1000017,1000030};
Line(1000177) = {1000019,1000032};
Line(1000178) = {1000018,1000031};
Line(1000179) = {1000014,1000033};


Line Loop(1000180) = {1000175,1000173,1000174,1000110};
Plane Surface(1000181) = {1000180};
Line Loop(1000182) = {1000176,1000172,-1000175,1000118};
Plane Surface(1000183) = {1000182};
Line Loop(1000184) = {1000171,-1000176,1000123,1000177};
Plane Surface(1000185) = {1000184};
Line Loop(1000186) = {1000170,-1000177,-1000122,1000178};
Plane Surface(1000187) = {1000186};
Line Loop(1000188) = {-1000168,1000169,-1000178,1000124};
Plane Surface(1000189) = {1000188};
Line Loop(1000190) = {1000179,1000167,1000168,1000119};
Plane Surface(1000191) = {1000190};
Line Loop(1000192) = {1000165,1000166,-1000179,1000113};
Plane Surface(1000193) = {1000192};

nbext=6;
pwext=1.;
nbind=10 ;
pwind=2.;

Transfinite Line{1000118,1000114,1000127,1000134,1000110,1000105,1000101,1000135,1000113,1000106,1000103,1000136,1000119,1000116,1000125,1000133,1000132,1000126,1000115,1000117,1000122,1000170,1000172,1000167,1000173,1000166} = 9 Using Power 1.0;
Transfinite Line{1000104,1000128,1000129,1000130,1000131,1000107} = 5 Using Power 1.0;
Transfinite Line{1000108,-1000111,1000120,1000121,1000112,-1000109} =nbind Using Power pwind;
Transfinite Line{1000123,1000124,1000171,1000169} = 6 Using Power 1.0;
Transfinite Line{1000174,1000175,1000176,1000177,1000178,1000168,1000179,1000165} = nbext Using Power pwext;

/* COUCHE 2 */


Point(2000001) = { -largint/4 , 0 , h2 , p1 };
Point(2000002) = {  largint/4 , 0 , h2 , p1 };
Point(2000003) = { -largint/4 , x2/2. , h2 , p1 };
Point(2000004) = {  largint/4 , x2/2. , h2 , p1 };
Point(2000005) = { -largint/2. , 0 , h2 , p1 };
Point(2000006) = { largint/2. , 0 , h2 , p1 };
Point(2000007) = { -largint/2.+.0000001 , x2+.0000001 , h2 , p1 };
Point(2000008) = { largint/2. +.0000001, x2 , h2 , p1 };
Point(2000009) = { 0   , x2 , h2 , p1 };
Point(2000010) = { -largint/2. + largint/2*Sin(Pi/6), x2+ largint/2*Cos(Pi/6) , h2 , p1 };
Point(2000011) = { largint/2.-  largint/2*Sin(Pi/6) , x2+largint/2*Cos(Pi/6)  , h2 ,  p1 };
Point(2000012) = { -largext/2. , 0 , h2 , p1 };
Point(2000013) = {  largext/2. , 0 , h2 , p1 };
Point(2000014) = { -largext/2. , long/2. - bk , h2 , p1 };
Point(2000015) = {  largext/2. , long/2. - bk , h2 , p1 };
Point(2000016) = {  -x1        , long/2-c , h2 , p1 };
Point(2000017) = {   x1        , long/2-c , h2 , p1 };
Point(2000018) = {  -x3        , long/2-c2 , h2 , p1 };
Point(2000019) = {   x3        , long/2-c2 , h2 , p1 };
Point(2000022) = { 0 , long/2. - bk , h2 , p1 };
Point(2000023) = {  largint/8 , x2/2 , h2 , p1 };
Point(2000024) = { -largint/8 , x2/2. , h2 , p1 };
Point(2000025) = {  largint/8 , 0 , h2 , p1 };
Point(2000026) = { -largint/8 , 0 , h2 , p1 };

Point(2000027) = { -longt/2.  , 0 , h2 , p1 };
Point(2000028) = { longt/2.   , 0 , h2 , p1 };
Point(2000029) = { -longt/2.  , largt/2. , h2 , p1 };
Point(2000030) = { longt/2.   , largt/2. , h2 , p1 };
mult1         =1.5;
Point(2000031) = { -longt/2.  , largt/2.* mult1 , h2 , p1 };
Point(2000032) = { longt/2.   , largt/2.* mult1 , h2 , p1 };
Point(2000033) = { -longt/2.  , largt/4. , h2 , p1 };
Point(2000034) = { longt/2.   , largt/4. , h2 , p1 };

Line(2000101) = {2000002,2000004};

Line(2000103) = {2000003,2000001};
Line(2000104) = {2000002,2000006};
Line(2000105) = {2000006,2000008};
Line(2000106) = {2000007,2000005};
Line(2000107) = {2000005,2000001};
Line(2000108) = {2000006,2000013};
Line(2000109) = {2000012,2000005};
Line(2000110) = {2000013,2000015};
Line(2000111) = {2000015,2000008};
Line(2000112) = {2000007,2000014};
Line(2000113) = {2000014,2000012};
Circle(2000114) = {2000008,2000009,2000011};
Circle(2000115) = {2000011,2000009,2000010};
Circle(2000116) = {2000010,2000009,2000007};

Line(2000117) = {2000016,2000017};
Circle(2000118) = {2000015,2000022,2000017};
Circle(2000119) = {2000016,2000022,2000014};
Line(2000120) = {2000011,2000017};
Line(2000121) = {2000010,2000016};
Line(2000122) = {2000018,2000019};
Circle(2000123) = {2000017,2000022,2000019};
Circle(2000124) = {2000018,2000022,2000016};
Line(2000125) = {2000003,2000024};
Line(2000126) = {2000024,2000023};
Line(2000127) = {2000023,2000004};
Line(2000128) = {2000004,2000008};
Line(2000129) = {2000023,2000011};
Line(2000130) = {2000024,2000010};
Line(2000131) = {2000003,2000007};
Line(2000132) = {2000001,2000026};
Line(2000133) = {2000026,2000025};
Line(2000134) = {2000025,2000002};
Line(2000135) = {2000025,2000023};
Line(2000136) = {2000026,2000024};
Line Loop(2000137) = {2000128,-2000105,-2000104,2000101};
Plane Surface(2000138) = {2000137};
Line Loop(2000139) = {2000101,-2000127,-2000135,2000134};
Plane Surface(2000140) = {2000139};
Line Loop(2000141) = {2000135,-2000126,-2000136,2000133};
Plane Surface(2000142) = {2000141};
Line Loop(2000143) = {2000136,-2000125,2000103,2000132};
Plane Surface(2000144) = {2000143};
Line Loop(2000145) = {2000107,-2000103,2000131,2000106};
Plane Surface(2000146) = {2000145};
Line Loop(2000147) = {-2000131,2000125,2000130,2000116};
Plane Surface(2000148) = {2000147};
Line Loop(2000149) = {-2000130,2000126,2000129,2000115};
Plane Surface(2000150) = {2000149};
Line Loop(2000151) = {-2000114,-2000128,-2000127,2000129};
Plane Surface(2000152) = {2000151};
Line Loop(2000153) = {-2000111,-2000110,-2000108,2000105};
Plane Surface(2000154) = {2000153};
Line Loop(2000155) = {-2000118,2000111,2000114,2000120};
Plane Surface(2000156) = {2000155};
Line Loop(2000157) = {2000117,-2000120,2000115,2000121};
Plane Surface(2000158) = {2000157};
Line Loop(2000159) = {2000117,2000123,-2000122,2000124};
Plane Surface(2000160) = {2000159};
Line Loop(2000161) = {2000112,-2000119,-2000121,2000116};
Plane Surface(2000162) = {2000161};
Line Loop(2000163) = {-2000109,-2000113,-2000112,2000106};
Plane Surface(2000164) = {2000163};

Line(2000165) = {2000012,2000027};
Line(2000166) = {2000027,2000033};
Line(2000167) = {2000033,2000029};
Line(2000168) = {2000029,2000016};
Line(2000169) = {2000029,2000031};
Line(2000170) = {2000031,2000032};
Line(2000171) = {2000032,2000030};
Line(2000172) = {2000030,2000034};
Line(2000173) = {2000034,2000028};
Line(2000174) = {2000028,2000013};
Line(2000175) = {2000015,2000034};
Line(2000176) = {2000017,2000030};
Line(2000177) = {2000019,2000032};
Line(2000178) = {2000018,2000031};
Line(2000179) = {2000014,2000033};

Line Loop(2000180) = {2000175,2000173,2000174,2000110};
Plane Surface(2000181) = {2000180};
Line Loop(2000182) = {2000176,2000172,-2000175,2000118};
Plane Surface(2000183) = {2000182};
Line Loop(2000184) = {2000171,-2000176,2000123,2000177};
Plane Surface(2000185) = {2000184};
Line Loop(2000186) = {2000170,-2000177,-2000122,2000178};
Plane Surface(2000187) = {2000186};
Line Loop(2000188) = {-2000168,2000169,-2000178,2000124};
Plane Surface(2000189) = {2000188};
Line Loop(2000190) = {2000179,2000167,2000168,2000119};
Plane Surface(2000191) = {2000190};
Line Loop(2000192) = {2000165,2000166,-2000179,2000113};
Plane Surface(2000193) = {2000192};

Transfinite Line{2000118,2000114,2000127,2000134,2000110,2000105,2000101,2000135,2000113,2000106,2000103,2000136,2000119,2000116,2000125,2000133,2000132,2000126,2000115,2000117,2000122,2000170,2000172,2000167,2000173,2000166} = 9 Using Power 1.0;
Transfinite Line{2000104,2000128,2000129,2000130,2000131,2000107} = 5 Using Power 1.0;
Transfinite Line{2000108,-2000111,2000120,2000121,2000112,-2000109} =nbind Using Power pwind;
Transfinite Line{2000123,2000124,2000171,2000169} = 6 Using Power 1.0;
Transfinite Line{2000174,2000175,2000176,2000177,2000178,2000168,2000179,2000165} = nbext Using Power pwext;

/* COUCHE 3 */

Point(3000001) = { -largint/4 , 0 , h3 , p1 };
Point(3000002) = {  largint/4 , 0 , h3 , p1 };
Point(3000003) = { -largint/4 , x2/2. , h3 , p1 };
Point(3000004) = {  largint/4 , x2/2. , h3 , p1 };
Point(3000005) = { -largint/2. , 0 , h3 , p1 };
Point(3000006) = { largint/2. , 0 , h3 , p1 };
Point(3000007) = { -largint/2.+.0000001 , x2+.0000001 , h3 , p1 };
Point(3000008) = { largint/2.+.0000001 , x2 , h3 , p1 };
Point(3000009) = { 0   , x2 , h3 , p1 };
Point(3000010) = { -largint/2. + largint/2*Sin(Pi/6), x2+ largint/2*Cos(Pi/6) , h3 , p1 };
Point(3000011) = { largint/2.-  largint/2*Sin(Pi/6) , x2+largint/2*Cos(Pi/6)  , h3 ,  p1 };
Point(3000012) = { -largext/2. , 0 , h3 , p1 };
Point(3000013) = {  largext/2. , 0 , h3 , p1 };
Point(3000014) = { -largext/2. , long/2. - bk , h3 , p1 };
Point(3000015) = {  largext/2. , long/2. - bk , h3 , p1 };
Point(3000016) = {  -x1        , long/2-c , h3 , p1 };
Point(3000017) = {   x1        , long/2-c , h3 , p1 };
Point(3000018) = {  -x3        , long/2-c2 , h3 , p1 };
Point(3000019) = {   x3        , long/2-c2 , h3 , p1 };
Point(3000022) = { 0 , long/2. - bk , h3 , p1 };
Point(3000023) = {  largint/8 , x2/2 , h3 , p1 };
Point(3000024) = { -largint/8 , x2/2. , h3 , p1 };
Point(3000025) = {  largint/8 , 0 , h3 , p1 };
Point(3000026) = { -largint/8 , 0 , h3 , p1 };

Point(3000027) = { -longt/2.  , 0 , h3 , p1 };
Point(3000028) = { longt/2.   , 0 , h3 , p1 };
Point(3000029) = { -longt/2.  , largt/2. , h3 , p1 };
Point(3000030) = { longt/2.   , largt/2. , h3 , p1 };
mult1         =1.5;
Point(3000031) = { -longt/2.  , largt/2.* mult1 , h3 , p1 };
Point(3000032) = { longt/2.   , largt/2.* mult1 , h3 , p1 };
Point(3000033) = { -longt/2.  , largt/4. , h3 , p1 };
Point(3000034) = { longt/2.   , largt/4. , h3 , p1 };

Line(3000101) = {3000002,3000004};
Line(3000103) = {3000003,3000001};
Line(3000104) = {3000002,3000006};
Line(3000105) = {3000006,3000008};
Line(3000106) = {3000007,3000005};
Line(3000107) = {3000005,3000001};
Line(3000108) = {3000006,3000013};
Line(3000109) = {3000012,3000005};
Line(3000110) = {3000013,3000015};
Line(3000111) = {3000015,3000008};
Line(3000112) = {3000007,3000014};
Line(3000113) = {3000014,3000012};
Circle(3000114) = {3000008,3000009,3000011};
Circle(3000115) = {3000011,3000009,3000010};
Circle(3000116) = {3000010,3000009,3000007};

Line(3000117) = {3000016,3000017};
Circle(3000118) = {3000015,3000022,3000017};
Circle(3000119) = {3000016,3000022,3000014};
Line(3000120) = {3000011,3000017};
Line(3000121) = {3000010,3000016};
Line(3000122) = {3000018,3000019};
Circle(3000123) = {3000017,3000022,3000019};
Circle(3000124) = {3000018,3000022,3000016};
Line(3000125) = {3000003,3000024};
Line(3000126) = {3000024,3000023};
Line(3000127) = {3000023,3000004};
Line(3000128) = {3000004,3000008};
Line(3000129) = {3000023,3000011};
Line(3000130) = {3000024,3000010};
Line(3000131) = {3000003,3000007};
Line(3000132) = {3000001,3000026};
Line(3000133) = {3000026,3000025};
Line(3000134) = {3000025,3000002};
Line(3000135) = {3000025,3000023};
Line(3000136) = {3000026,3000024};
Line Loop(3000137) = {3000128,-3000105,-3000104,3000101};
Plane Surface(3000138) = {3000137};
Line Loop(3000139) = {3000101,-3000127,-3000135,3000134};
Plane Surface(3000140) = {3000139};
Line Loop(3000141) = {3000135,-3000126,-3000136,3000133};
Plane Surface(3000142) = {3000141};
Line Loop(3000143) = {3000136,-3000125,3000103,3000132};
Plane Surface(3000144) = {3000143};
Line Loop(3000145) = {3000107,-3000103,3000131,3000106};
Plane Surface(3000146) = {3000145};
Line Loop(3000147) = {-3000131,3000125,3000130,3000116};
Plane Surface(3000148) = {3000147};
Line Loop(3000149) = {-3000130,3000126,3000129,3000115};
Plane Surface(3000150) = {3000149};
Line Loop(3000151) = {-3000114,-3000128,-3000127,3000129};
Plane Surface(3000152) = {3000151};
Line Loop(3000153) = {-3000111,-3000110,-3000108,3000105};
Plane Surface(3000154) = {3000153};
Line Loop(3000155) = {-3000118,3000111,3000114,3000120};
Plane Surface(3000156) = {3000155};
Line Loop(3000157) = {3000117,-3000120,3000115,3000121};
Plane Surface(3000158) = {3000157};
Line Loop(3000159) = {3000117,3000123,-3000122,3000124};
Plane Surface(3000160) = {3000159};
Line Loop(3000161) = {3000112,-3000119,-3000121,3000116};
Plane Surface(3000162) = {3000161};
Line Loop(3000163) = {-3000109,-3000113,-3000112,3000106};
Plane Surface(3000164) = {3000163};

Line(3000165) = {3000012,3000027};
Line(3000166) = {3000027,3000033};
Line(3000167) = {3000033,3000029};
Line(3000168) = {3000029,3000016};
Line(3000169) = {3000029,3000031};
Line(3000170) = {3000031,3000032};
Line(3000171) = {3000032,3000030};
Line(3000172) = {3000030,3000034};
Line(3000173) = {3000034,3000028};
Line(3000174) = {3000028,3000013};
Line(3000175) = {3000015,3000034};
Line(3000176) = {3000017,3000030};
Line(3000177) = {3000019,3000032};
Line(3000178) = {3000018,3000031};
Line(3000179) = {3000014,3000033};



Line Loop(3000180) = {3000175,3000173,3000174,3000110};
Plane Surface(3000181) = {3000180};
Line Loop(3000182) = {3000176,3000172,-3000175,3000118};
Plane Surface(3000183) = {3000182};
Line Loop(3000184) = {3000171,-3000176,3000123,3000177};
Plane Surface(3000185) = {3000184};
Line Loop(3000186) = {3000170,-3000177,-3000122,3000178};
Plane Surface(3000187) = {3000186};
Line Loop(3000188) = {-3000168,3000169,-3000178,3000124};
Plane Surface(3000189) = {3000188};
Line Loop(3000190) = {3000179,3000167,3000168,3000119};
Plane Surface(3000191) = {3000190};
Line Loop(3000192) = {3000165,3000166,-3000179,3000113};
Plane Surface(3000193) = {3000192};


Transfinite Line{3000118,3000114,3000127,3000134,3000110,3000105,3000101,3000135,3000113,3000106,3000103,3000136,3000119,3000116,3000125,3000133,3000132,3000126,3000115,3000117,3000122,3000170,3000172,3000167,3000173,3000166} = 9 Using Power 1.0;
Transfinite Line{3000104,3000128,3000129,3000130,3000131,3000107} = 5 Using Power 1.0;
Transfinite Line{3000108,-3000111,3000120,3000121,3000112,-3000109} =nbind Using Power pwind;
Transfinite Line{3000123,3000124,3000171,3000169} = 6 Using Power 1.0;
Transfinite Line{3000174,3000175,3000176,3000177,3000178,3000168,3000179,3000165} = nbext Using Power pwext;

// COUCHE 4

Point(4000001) = { -largint/4 , 0 , h4 , p1 };
Point(4000002) = {  largint/4 , 0 , h4 , p1 };
Point(4000003) = { -largint/4 , x2/2. , h4 , p1 };
Point(4000004) = {  largint/4 , x2/2. , h4 , p1 };
Point(4000005) = { -largint/2. , 0 , h4 , p1 };
Point(4000006) = { largint/2. , 0 , h4 , p1 };
Point(4000007) = { -largint/2. , x2 , h4 , p1 };
Point(4000008) = { largint/2. , x2 , h4 , p1 };
Point(4000009) = { 0   , x2 , h4 , p1 };
Point(4000010) = { -largint/2. + largint/2*Sin(Pi/6), x2+ largint/2*Cos(Pi/6) , h4 , p1 };
Point(4000011) = { largint/2.-  largint/2*Sin(Pi/6) , x2+largint/2*Cos(Pi/6)  , h4 ,  p1 };
Point(4000012) = { -largext/2. , 0 , h4 , p1 };
Point(4000013) = {  largext/2. , 0 , h4 , p1 };
Point(4000014) = { -largext/2. , long/2. - bk , h4 , p1 };
Point(4000015) = {  largext/2. , long/2. - bk , h4 , p1 };
Point(4000016) = {  -x1        , long/2-c , h4 , p1 };
Point(4000017) = {   x1        , long/2-c , h4 , p1 };
Point(4000018) = {  -x3        , long/2-c2 , h4 , p1 };
Point(4000019) = {   x3        , long/2-c2 , h4 , p1 };
Point(4000022) = { 0 , long/2. - bk , h4 , p1 };
Point(4000023) = {  largint/8 , x2/2 , h4 , p1 };
Point(4000024) = { -largint/8 , x2/2. , h4 , p1 };
Point(4000025) = {  largint/8 , 0 , h4 , p1 };
Point(4000026) = { -largint/8 , 0 , h4 , p1 };

Point(4000027) = { -longt/2.  , 0 , h4 , p1 };
Point(4000028) = { longt/2.   , 0 , h4 , p1 };
Point(4000029) = { -longt/2.  , largt/2. , h4 , p1 };
Point(4000030) = { longt/2.   , largt/2. , h4 , p1 };
mult1         =1.5;
Point(4000031) = { -longt/2.  , largt/2.* mult1 , h4 , p1 };
Point(4000032) = { longt/2.   , largt/2.* mult1 , h4 , p1 };
Point(4000033) = { -longt/2.  , largt/4. , h4 , p1 };
Point(4000034) = { longt/2.   , largt/4. , h4 , p1 };

Line(4000101) = {4000002,4000004};
Line(4000103) = {4000003,4000001};
Line(4000104) = {4000002,4000006};
Line(4000105) = {4000006,4000008};
Line(4000106) = {4000007,4000005};
Line(4000107) = {4000005,4000001};
Line(4000108) = {4000006,4000013};
Line(4000109) = {4000012,4000005};
Line(4000110) = {4000013,4000015};
Line(4000111) = {4000015,4000008};
Line(4000112) = {4000007,4000014};
Line(4000113) = {4000014,4000012};
Circle(4000114) = {4000008,4000009,4000011};
Circle(4000115) = {4000011,4000009,4000010};
Circle(4000116) = {4000010,4000009,4000007};

Line(4000117) = {4000016,4000017};
Circle(4000118) = {4000015,4000022,4000017};
Circle(4000119) = {4000016,4000022,4000014};
Line(4000120) = {4000011,4000017};
Line(4000121) = {4000010,4000016};
Line(4000122) = {4000018,4000019};
Circle(4000123) = {4000017,4000022,4000019};
Circle(4000124) = {4000018,4000022,4000016};
Line(4000125) = {4000003,4000024};
Line(4000126) = {4000024,4000023};
Line(4000127) = {4000023,4000004};
Line(4000128) = {4000004,4000008};
Line(4000129) = {4000023,4000011};
Line(4000130) = {4000024,4000010};
Line(4000131) = {4000003,4000007};
Line(4000132) = {4000001,4000026};
Line(4000133) = {4000026,4000025};
Line(4000134) = {4000025,4000002};
Line(4000135) = {4000025,4000023};
Line(4000136) = {4000026,4000024};
Line Loop(4000137) = {4000128,-4000105,-4000104,4000101};
Plane Surface(4000138) = {4000137};
Line Loop(4000139) = {4000101,-4000127,-4000135,4000134};
Plane Surface(4000140) = {4000139};
Line Loop(4000141) = {4000135,-4000126,-4000136,4000133};
Plane Surface(4000142) = {4000141};
Line Loop(4000143) = {4000136,-4000125,4000103,4000132};
Plane Surface(4000144) = {4000143};
Line Loop(4000145) = {4000107,-4000103,4000131,4000106};
Plane Surface(4000146) = {4000145};
Line Loop(4000147) = {-4000131,4000125,4000130,4000116};
Plane Surface(4000148) = {4000147};
Line Loop(4000149) = {-4000130,4000126,4000129,4000115};
Plane Surface(4000150) = {4000149};
Line Loop(4000151) = {-4000114,-4000128,-4000127,4000129};
Plane Surface(4000152) = {4000151};
Line Loop(4000153) = {-4000111,-4000110,-4000108,4000105};
Plane Surface(4000154) = {4000153};
Line Loop(4000155) = {-4000118,4000111,4000114,4000120};
Plane Surface(4000156) = {4000155};
Line Loop(4000157) = {4000117,-4000120,4000115,4000121};
Plane Surface(4000158) = {4000157};
Line Loop(4000159) = {4000117,4000123,-4000122,4000124};
Plane Surface(4000160) = {4000159};
Line Loop(4000161) = {4000112,-4000119,-4000121,4000116};
Plane Surface(4000162) = {4000161};
Line Loop(4000163) = {-4000109,-4000113,-4000112,4000106};
Plane Surface(4000164) = {4000163};

Line(4000165) = {4000012,4000027};
Line(4000166) = {4000027,4000033};
Line(4000167) = {4000033,4000029};
Line(4000168) = {4000029,4000016};
Line(4000169) = {4000029,4000031};
Line(4000170) = {4000031,4000032};
Line(4000171) = {4000032,4000030};
Line(4000172) = {4000030,4000034};
Line(4000173) = {4000034,4000028};
Line(4000174) = {4000028,4000013};
Line(4000175) = {4000015,4000034};
Line(4000176) = {4000017,4000030};
Line(4000177) = {4000019,4000032};
Line(4000178) = {4000018,4000031};
Line(4000179) = {4000014,4000033};



Line Loop(4000180) = {4000175,4000173,4000174,4000110};
Plane Surface(4000181) = {4000180};
Line Loop(4000182) = {4000176,4000172,-4000175,4000118};
Plane Surface(4000183) = {4000182};
Line Loop(4000184) = {4000171,-4000176,4000123,4000177};
Plane Surface(4000185) = {4000184};
Line Loop(4000186) = {4000170,-4000177,-4000122,4000178};
Plane Surface(4000187) = {4000186};
Line Loop(4000188) = {-4000168,4000169,-4000178,4000124};
Plane Surface(4000189) = {4000188};
Line Loop(4000190) = {4000179,4000167,4000168,4000119};
Plane Surface(4000191) = {4000190};
Line Loop(4000192) = {4000165,4000166,-4000179,4000113};
Plane Surface(4000193) = {4000192};


Transfinite Line{4000118,4000114,4000127,4000134,4000110,4000105,4000101,4000135,4000113,4000106,4000103,4000136,4000119,4000116,4000125,4000133,4000132,4000126,4000115,4000117,4000122,4000170,4000172,4000167,4000173,4000166} = 9 Using Power 1.0;
Transfinite Line{4000104,4000128,4000129,4000130,4000131,4000107} = 5 Using Power 1.0;
Transfinite Line{4000108,-4000111,4000120,4000121,4000112,-4000109} =nbind Using Power pwind;
Transfinite Line{4000123,4000124,4000171,4000169} = 6 Using Power 1.0;
Transfinite Line{4000174,4000175,4000176,4000177,4000178,4000168,4000179,4000165} = nbext Using Power pwext;

// COUCHE 5

Point(5000001) = { -largint/4 , 0 , h5 , p1 };
Point(5000002) = {  largint/4 , 0 , h5 , p1 };
Point(5000003) = { -largint/4 , x2/2. , h5 , p1 };
Point(5000004) = {  largint/4 , x2/2. , h5 , p1 };
Point(5000005) = { -largint/2. , 0 , h5 , p1 };
Point(5000006) = { largint/2. , 0 , h5 , p1 };
Point(5000007) = { -largint/2. , x2 , h5 , p1 };
Point(5000008) = { largint/2. , x2 , h5 , p1 };
Point(5000009) = { 0   , x2 , h5 , p1 };
Point(5000010) = { -largint/2. + largint/2*Sin(Pi/6), x2+ largint/2*Cos(Pi/6) , h5 , p1 };
Point(5000011) = { largint/2.-  largint/2*Sin(Pi/6) , x2+largint/2*Cos(Pi/6)  , h5 ,  p1 };
Point(5000012) = { -largext/2. , 0 , h5 , p1 };
Point(5000013) = {  largext/2. , 0 , h5 , p1 };
Point(5000014) = { -largext/2. , long/2. - bk , h5 , p1 };
Point(5000015) = {  largext/2. , long/2. - bk , h5 , p1 };
Point(5000016) = {  -x1        , long/2-c , h5 , p1 };
Point(5000017) = {   x1        , long/2-c , h5 , p1 };
Point(5000018) = {  -x3        , long/2-c2 , h5 , p1 };
Point(5000019) = {   x3        , long/2-c2 , h5 , p1 };
Point(5000022) = { 0 , long/2. - bk , h5 , p1 };
Point(5000023) = {  largint/8 , x2/2 , h5 , p1 };
Point(5000024) = { -largint/8 , x2/2. , h5 , p1 };
Point(5000025) = {  largint/8 , 0 , h5 , p1 };
Point(5000026) = { -largint/8 , 0 , h5 , p1 };

Point(5000027) = { -longt/2.  , 0 , h5 , p1 };
Point(5000028) = { longt/2.   , 0 , h5 , p1 };
Point(5000029) = { -longt/2.  , largt/2. , h5 , p1 };
Point(5000030) = { longt/2.   , largt/2. , h5 , p1 };
mult1         =1.5;
Point(5000031) = { -longt/2.  , largt/2.* mult1 , h5 , p1 };
Point(5000032) = { longt/2.   , largt/2.* mult1 , h5 , p1 };
Point(5000033) = { -longt/2.  , largt/4. , h5 , p1 };
Point(5000034) = { longt/2.   , largt/4. , h5 , p1 };

Line(5000101) = {5000002,5000004};
Line(5000103) = {5000003,5000001};
Line(5000104) = {5000002,5000006};
Line(5000105) = {5000006,5000008};
Line(5000106) = {5000007,5000005};
Line(5000107) = {5000005,5000001};
Line(5000108) = {5000006,5000013};
Line(5000109) = {5000012,5000005};
Line(5000110) = {5000013,5000015};
Line(5000111) = {5000015,5000008};
Line(5000112) = {5000007,5000014};
Line(5000113) = {5000014,5000012};
Circle(5000114) = {5000008,5000009,5000011};
Circle(5000115) = {5000011,5000009,5000010};
Circle(5000116) = {5000010,5000009,5000007};

Line(5000117) = {5000016,5000017};
Circle(5000118) = {5000015,5000022,5000017};
Circle(5000119) = {5000016,5000022,5000014};
Line(5000120) = {5000011,5000017};
Line(5000121) = {5000010,5000016};
Line(5000122) = {5000018,5000019};
Circle(5000123) = {5000017,5000022,5000019};
Circle(5000124) = {5000018,5000022,5000016};
Line(5000125) = {5000003,5000024};
Line(5000126) = {5000024,5000023};
Line(5000127) = {5000023,5000004};
Line(5000128) = {5000004,5000008};
Line(5000129) = {5000023,5000011};
Line(5000130) = {5000024,5000010};
Line(5000131) = {5000003,5000007};
Line(5000132) = {5000001,5000026};
Line(5000133) = {5000026,5000025};
Line(5000134) = {5000025,5000002};
Line(5000135) = {5000025,5000023};
Line(5000136) = {5000026,5000024};
Line Loop(5000137) = {5000128,-5000105,-5000104,5000101};
Plane Surface(5000138) = {5000137};
Line Loop(5000139) = {5000101,-5000127,-5000135,5000134};
Plane Surface(5000140) = {5000139};
Line Loop(5000141) = {5000135,-5000126,-5000136,5000133};
Plane Surface(5000142) = {5000141};
Line Loop(5000143) = {5000136,-5000125,5000103,5000132};
Plane Surface(5000144) = {5000143};
Line Loop(5000145) = {5000107,-5000103,5000131,5000106};
Plane Surface(5000146) = {5000145};
Line Loop(5000147) = {-5000131,5000125,5000130,5000116};
Plane Surface(5000148) = {5000147};
Line Loop(5000149) = {-5000130,5000126,5000129,5000115};
Plane Surface(5000150) = {5000149};
Line Loop(5000151) = {-5000114,-5000128,-5000127,5000129};
Plane Surface(5000152) = {5000151};
Line Loop(5000153) = {-5000111,-5000110,-5000108,5000105};
Plane Surface(5000154) = {5000153};
Line Loop(5000155) = {-5000118,5000111,5000114,5000120};
Plane Surface(5000156) = {5000155};
Line Loop(5000157) = {5000117,-5000120,5000115,5000121};
Plane Surface(5000158) = {5000157};
Line Loop(5000159) = {5000117,5000123,-5000122,5000124};
Plane Surface(5000160) = {5000159};
Line Loop(5000161) = {5000112,-5000119,-5000121,5000116};
Plane Surface(5000162) = {5000161};
Line Loop(5000163) = {-5000109,-5000113,-5000112,5000106};
Plane Surface(5000164) = {5000163};

Line(5000165) = {5000012,5000027};
Line(5000166) = {5000027,5000033};
Line(5000167) = {5000033,5000029};
Line(5000168) = {5000029,5000016};
Line(5000169) = {5000029,5000031};
Line(5000170) = {5000031,5000032};
Line(5000171) = {5000032,5000030};
Line(5000172) = {5000030,5000034};
Line(5000173) = {5000034,5000028};
Line(5000174) = {5000028,5000013};
Line(5000175) = {5000015,5000034};
Line(5000176) = {5000017,5000030};
Line(5000177) = {5000019,5000032};
Line(5000178) = {5000018,5000031};
Line(5000179) = {5000014,5000033};



Line Loop(5000180) = {5000175,5000173,5000174,5000110};
Plane Surface(5000181) = {5000180};
Line Loop(5000182) = {5000176,5000172,-5000175,5000118};
Plane Surface(5000183) = {5000182};
Line Loop(5000184) = {5000171,-5000176,5000123,5000177};
Plane Surface(5000185) = {5000184};
Line Loop(5000186) = {5000170,-5000177,-5000122,5000178};
Plane Surface(5000187) = {5000186};
Line Loop(5000188) = {-5000168,5000169,-5000178,5000124};
Plane Surface(5000189) = {5000188};
Line Loop(5000190) = {5000179,5000167,5000168,5000119};
Plane Surface(5000191) = {5000190};
Line Loop(5000192) = {5000165,5000166,-5000179,5000113};
Plane Surface(5000193) = {5000192};


Transfinite Line{5000118,5000114,5000127,5000134,5000110,5000105,5000101,5000135,5000113,5000106,5000103,5000136,5000119,5000116,5000125,5000133,5000132,5000126,5000115,5000117,5000122,5000170,5000172,5000167,5000173,5000166} = 9 Using Power 1.0;
Transfinite Line{5000104,5000128,5000129,5000130,5000131,5000107} = 5 Using Power 1.0;
Transfinite Line{5000108,-5000111,5000120,5000121,5000112,-5000109} =nbind Using Power pwind;
Transfinite Line{5000123,5000124,5000171,5000169} = 6 Using Power 1.0;
Transfinite Line{5000174,5000175,5000176,5000177,5000178,5000168,5000179,5000165} = nbext Using Power pwext;

// Liens entre couches

// lignes couche 1->2

Line(6000194) = {1000028,2000028};
Line(6000195) = {1000013,2000013};
Line(6000196) = {1000034,2000034};
Line(6000197) = {1000006,2000006};
Line(6000198) = {1000002,2000002};
Line(6000199) = {1000025,2000025};
Line(6000200) = {1000026,2000026};
Line(6000201) = {1000001,2000001};
Line(6000202) = {1000005,2000005};
Line(6000203) = {1000012,2000012};
Line(6000204) = {1000027,2000027};
Line(6000205) = {1000015,2000015};
Line(6000206) = {1000008,2000008};
Line(6000207) = {1000004,2000004};
Line(6000208) = {2000023,1000023};
Line(6000209) = {1000024,2000024};
Line(6000210) = {1000003,2000003};
Line(6000211) = {1000011,2000011};
Line(6000212) = {2000010,1000010};
Line(6000213) = {1000007,2000007};
Line(6000214) = {1000033,2000033};
Line(6000215) = {1000029,2000029};
Line(6000216) = {1000031,2000031};
Line(6000217) = {1000016,2000016};
Line(6000218) = {1000014,2000014};
Line(6000219) = {1000018,2000018};
Line(6000220) = {1000019,2000019};
Line(6000221) = {1000017,2000017};
Line(6000222) = {1000032,2000032};
Line(6000223) = {1000030,2000030};

nbep = 5;
pwd6 = 0.5;
Transfinite Line{6000204,6000214,6000215,6000216,6000203,6000218,6000202,6000217,6000213,6000201,6000210,6000200,6000209,-6000212,6000199,-6000208,6000198,6000219,6000207,6000211,6000197,6000206,6000220,6000221,6000195,6000205,6000194,6000196,6000223,6000222} = nbep Using Power pwd6;


Line Loop(6000194) = {-2000134,-6000199,1000134,6000198};
Plane Surface(6000195) = {6000194};
Line Loop(6000196) = {-6000199,-1000133,6000200,2000133};
Plane Surface(6000197) = {6000196};
Line Loop(6000198) = {-6000200,-1000132,6000201,2000132};
Plane Surface(6000199) = {6000198};
Line Loop(6000200) = {-6000201,-1000103,6000210,2000103};
Plane Surface(6000201) = {6000200};
Line Loop(6000202) = {-2000125,-6000210,1000125,6000209};
Plane Surface(6000203) = {6000202};
Line Loop(6000204) = {-1000126,6000209,2000126,6000208};
Plane Surface(6000205) = {6000204};
Line Loop(6000206) = {-2000127,6000208,1000127,6000207};
Plane Surface(6000207) = {6000206};
Line Loop(6000208) = {6000207,-2000101,-6000198,1000101};
Plane Surface(6000209) = {6000208};
Line Loop(6000211) = {2000136,-6000209,-1000136,6000200};
Plane Surface(6000212) = {6000211};
Line Loop(6000213) = {-6000208,-2000135,-6000199,1000135};
Plane Surface(6000214) = {6000213};
Line Loop(6000221) = {-6000201,-1000107,6000202,2000107};
Plane Surface(6000222) = {6000221};
Line Loop(6000225) = {2000131,-6000213,-1000131,6000210};
Plane Surface(6000226) = {6000225};
Line Loop(6000227) = {-2000116,6000212,1000116,6000213};
Surface(6000228) = {6000227};
Line Loop(6000229) = {2000130,6000212,-1000130,6000209};
Plane Surface(6000230) = {6000229};
Line Loop(6000231) = {2000115,6000212,-1000115,6000211};
Surface(6000232) = {6000231};
Line Loop(6000233) = {2000114,-6000211,-1000114,6000206};
Surface(6000234) = {6000233};
Line Loop(6000235) = {1000129,6000211,-2000129,6000208};
Plane Surface(6000236) = {6000235};
Line Loop(6000239) = {-2000105,-6000197,1000105,6000206};
Plane Surface(6000240) = {6000239};
Line Loop(6000241) = {-6000197,-1000104,6000198,2000104};
Plane Surface(6000242) = {6000241};

Line Loop(6000250) = {-2000128,-6000207,1000128,6000206};
Plane Surface(6000251) = {6000250};
Line Loop(6000260) = {2000106,-6000202,-1000106,6000213};
Surface(6000261) = {6000260};
Line Loop(6000266) = {6000195,-2000108,-6000197,1000108};
Plane Surface(6000267) = {6000266};
Line Loop(6000268) = {-2000110,-6000195,1000110,6000205};
Plane Surface(6000269) = {6000268};
Line Loop(6000270) = {-2000111,-6000205,1000111,6000206};
Plane Surface(6000271) = {6000270};
Line Loop(6000272) = {-6000221,-1000118,6000205,2000118};
Surface(6000273) = {6000272};
Line Loop(6000274) = {-6000221,-1000120,6000211,2000120};
Plane Surface(6000275) = {6000274};
Line Loop(6000280) = {-6000221,-1000117,6000217,2000117};
Plane Surface(6000281) = {6000280};
Line Loop(6000282) = {1000121,6000217,-2000121,6000212};
Plane Surface(6000283) = {6000282};
Line Loop(6000284) = {-6000218,-1000112,6000213,2000112};
Plane Surface(6000285) = {6000284};
Line Loop(6000286) = {-2000109,-6000203,1000109,6000202};
Plane Surface(6000287) = {6000286};
Line Loop(6000288) = {-6000203,-1000113,6000218,2000113};
Plane Surface(6000289) = {6000288};
Line Loop(6000290) = {-2000119,-6000217,1000119,6000218};
Surface(6000291) = {6000290};
Line Loop(6000298) = {-2000122,-6000219,1000122,6000220};
Plane Surface(6000299) = {6000298};
Line Loop(6000300) = {2000178,-6000216,-1000178,6000219};
Plane Surface(6000301) = {6000300};
Line Loop(6000302) = {6000222,-2000177,-6000220,1000177};
Plane Surface(6000303) = {6000302};
Line Loop(6000304) = {2000170,-6000222,-1000170,6000216};
Plane Surface(6000305) = {6000304};
Line Loop(6000306) = {-6000220,-1000123,6000221,2000123};
Surface(6000307) = {6000306};
Line Loop(6000308) = {6000217,-2000124,-6000219,1000124};
Surface(6000309) = {6000308};
Line Loop(6000332) = {-2000165,-6000203,1000165,6000204};
Plane Surface(6000333) = {6000332};
Line Loop(6000334) = {-6000214,-1000166,6000204,2000166};
Plane Surface(6000335) = {6000334};
Line Loop(6000336) = {-2000179,-6000218,1000179,6000214};
Plane Surface(6000337) = {6000336};
Line Loop(6000338) = {-6000215,-1000167,6000214,2000167};
Plane Surface(6000339) = {6000338};
Line Loop(6000340) = {2000168,-6000217,-1000168,6000215};
Plane Surface(6000341) = {6000340};
Line Loop(6000342) = {2000169,-6000216,-1000169,6000215};
Plane Surface(6000343) = {6000342};
Line Loop(6000314) = {6000223,-2000171,-6000222,1000171};
Plane Surface(6000315) = {6000314};
Line Loop(6000316) = {2000176,-6000223,-1000176,6000221};
Plane Surface(6000317) = {6000316};
Line Loop(6000318) = {6000196,-2000172,-6000223,1000172};
Plane Surface(6000319) = {6000318};
Line Loop(6000320) = {2000175,-6000196,-1000175,6000205};
Plane Surface(6000321) = {6000320};
Line Loop(6000322) = {6000194,-2000173,-6000196,1000173};
Plane Surface(6000323) = {6000322};
Line Loop(6000324) = {-2000174,-6000194,1000174,6000195};
Plane Surface(6000325) = {6000324};

Surface Loop(6000276) = {6000240,2000154,-6000271,-6000269,-6000267,1000154};
Volume(6000277) = {6000276};


Surface Loop(6000278) = {6000234,-2000156,-6000273,6000275,-1000156,-6000271};
Volume(6000279) = {6000278};
Surface Loop(6000215) = {6000212,-2000144,6000203,6000201,6000199,-1000144};
Volume(6000216) = {6000215};
Surface Loop(6000217) = {1000142,6000214,6000205,6000212,2000142,-6000197};
Volume(6000218) = {6000217};
Surface Loop(6000219) = {6000214,6000207,-2000140,-6000209,-6000195,-1000140};
Volume(6000220) = {6000219};
Surface Loop(6000254) = {2000152,6000234,6000236,1000152,-6000251,-6000207};
Volume(6000255) = {6000254};
Surface Loop(6000256) = {1000150,6000230,2000150,-6000205,6000236,-6000232};
Volume(6000257) = {6000256};
Surface Loop(6000258) = {1000148,6000226,2000148,6000203,-6000230,6000228};
Volume(6000259) = {6000258};
Surface Loop(6000262) = {6000226,-2000146,6000222,-6000201,-1000146,6000261};
Volume(6000263) = {6000262};
Surface Loop(6000264) = {6000209,6000251,2000138,-6000240,6000242,1000138};
Volume(6000265) = {6000264};
Surface Loop(6000292) = {2000158,-6000281,6000275,1000158,-6000232,6000283};
Volume(6000293) = {6000292};
Surface Loop(6000294) = {1000162,-6000285,-6000291,2000162,-6000283,6000228};
Volume(6000295) = {6000294};
Surface Loop(6000296) = {1000164,-6000287,2000164,6000289,6000285,-6000261};
Volume(6000297) = {6000296};
Surface Loop(6000310) = {6000299,-2000187,6000305,6000303,-1000187,6000301};
Volume(6000311) = {6000310};
Surface Loop(6000312) = {1000160,-6000281,-6000307,-6000299,2000160,6000309};
Volume(6000313) = {6000312};
Surface Loop(6000344) = {6000337,-2000193,-6000333,6000289,-1000193,6000335};
Volume(6000345) = {6000344};
Surface Loop(6000346) = {2000191,6000337,6000291,-6000341,1000191,-6000339};
Volume(6000347) = {6000346};
Surface Loop(6000348) = {1000189,6000341,2000189,-6000343,6000301,6000309};
Volume(6000349) = {6000348};
Surface Loop(6000326) = {6000269,2000181,-6000321,6000323,6000325,1000181};
Volume(6000327) = {6000326};
Surface Loop(6000328) = {6000317,-2000183,-6000319,-6000321,-1000183,6000273};
Volume(6000329) = {6000328};
Surface Loop(6000330) = {6000303,6000315,6000317,2000185,-6000307,1000185};
Volume(6000331) = {6000330};
//Surface Loop(6000210) = {1000144,1000142,1000140,6000195,2000140,2000142,2000144,-6000199,-6000197,-6000201,-6000203,6000205,-6000207,6000209};


// lignes couche 2->3

Line(7000194) = {2000028,3000028};
Line(7000195) = {2000013,3000013};
Line(7000196) = {2000034,3000034};
Line(7000197) = {2000006,3000006};
Line(7000198) = {2000002,3000002};
Line(7000199) = {2000025,3000025};
Line(7000200) = {2000026,3000026};
Line(7000201) = {2000001,3000001};
Line(7000202) = {2000005,3000005};
Line(7000203) = {2000012,3000012};
Line(7000204) = {2000027,3000027};
Line(7000205) = {2000015,3000015};
Line(7000206) = {2000008,3000008};
Line(7000207) = {2000004,3000004};
Line(7000208) = {3000023,2000023};
Line(7000209) = {2000024,3000024};
Line(7000210) = {2000003,3000003};
Line(7000211) = {2000011,3000011};
Line(7000212) = {3000010,2000010};
Line(7000213) = {2000007,3000007};
Line(7000214) = {2000033,3000033};
Line(7000215) = {2000029,3000029};
Line(7000216) = {2000031,3000031};
Line(7000217) = {2000016,3000016};
Line(7000218) = {2000014,3000014};
Line(7000219) = {2000018,3000018};
Line(7000220) = {2000019,3000019};
Line(7000221) = {2000017,3000017};
Line(7000222) = {2000032,3000032};
Line(7000223) = {2000030,3000030};

Transfinite Line{7000204,7000214,7000215,7000216,7000203,7000218,7000202,7000217,7000213,7000201,7000210,7000200,7000209,7000212,7000199,7000208,7000198,7000219,7000207,7000211,7000197,7000206,7000220,7000221,7000195,7000205,7000194,7000196,7000223,7000222} = 5 Using Power 1.0;


Line Loop(7000194) = {-3000134,-7000199,2000134,7000198};
Plane Surface(7000195) = {7000194};
Line Loop(7000196) = {-7000199,-2000133,7000200,3000133};
Plane Surface(7000197) = {7000196};
Line Loop(7000198) = {-7000200,-2000132,7000201,3000132};
Plane Surface(7000199) = {7000198};
Line Loop(7000200) = {-7000201,-2000103,7000210,3000103};
Plane Surface(7000201) = {7000200};
Line Loop(7000202) = {-3000125,-7000210,2000125,7000209};
Plane Surface(7000203) = {7000202};
Line Loop(7000204) = {-2000126,7000209,3000126,7000208};
Plane Surface(7000205) = {7000204};
Line Loop(7000206) = {-3000127,7000208,2000127,7000207};
Plane Surface(7000207) = {7000206};
Line Loop(7000208) = {7000207,-3000101,-7000198,2000101};
Plane Surface(7000209) = {7000208};
Line Loop(7000211) = {3000136,-7000209,-2000136,7000200};
Plane Surface(7000212) = {7000211};
Line Loop(7000213) = {-7000208,-3000135,-7000199,2000135};
Plane Surface(7000214) = {7000213};
Line Loop(7000221) = {-7000201,-2000107,7000202,3000107};
Plane Surface(7000222) = {7000221};
Line Loop(7000225) = {3000131,-7000213,-2000131,7000210};
Plane Surface(7000226) = {7000225};
Line Loop(7000227) = {-3000116,7000212,2000116,7000213};
Surface(7000228) = {7000227};
Line Loop(7000229) = {3000130,7000212,-2000130,7000209};
Plane Surface(7000230) = {7000229};
Line Loop(7000231) = {3000115,7000212,-2000115,7000211};
Surface(7000232) = {7000231};
Line Loop(7000233) = {3000114,-7000211,-2000114,7000206};
Surface(7000234) = {7000233};
Line Loop(7000235) = {2000129,7000211,-3000129,7000208};
Plane Surface(7000236) = {7000235};
Line Loop(7000239) = {-3000105,-7000197,2000105,7000206};
Plane Surface(7000240) = {7000239};
Line Loop(7000241) = {-7000197,-2000104,7000198,3000104};
Plane Surface(7000242) = {7000241};

Line Loop(7000250) = {-3000128,-7000207,2000128,7000206};
Plane Surface(7000251) = {7000250};
Line Loop(7000260) = {3000106,-7000202,-2000106,7000213};
Surface(7000261) = {7000260};
Line Loop(7000266) = {7000195,-3000108,-7000197,2000108};
Plane Surface(7000267) = {7000266};
Line Loop(7000268) = {-3000110,-7000195,2000110,7000205};
Plane Surface(7000269) = {7000268};
Line Loop(7000270) = {-3000111,-7000205,2000111,7000206};
Plane Surface(7000271) = {7000270};
Line Loop(7000272) = {-7000221,-2000118,7000205,3000118};
Surface(7000273) = {7000272};
Line Loop(7000274) = {-7000221,-2000120,7000211,3000120};
Plane Surface(7000275) = {7000274};
Line Loop(7000280) = {-7000221,-2000117,7000217,3000117};
Plane Surface(7000281) = {7000280};
Line Loop(7000282) = {2000121,7000217,-3000121,7000212};
Plane Surface(7000283) = {7000282};
Line Loop(7000284) = {-7000218,-2000112,7000213,3000112};
Plane Surface(7000285) = {7000284};
Line Loop(7000286) = {-3000109,-7000203,2000109,7000202};
Plane Surface(7000287) = {7000286};
Line Loop(7000288) = {-7000203,-2000113,7000218,3000113};
Plane Surface(7000289) = {7000288};
Line Loop(7000290) = {-3000119,-7000217,2000119,7000218};
Surface(7000291) = {7000290};
Line Loop(7000298) = {-3000122,-7000219,2000122,7000220};
Plane Surface(7000299) = {7000298};
Line Loop(7000300) = {3000178,-7000216,-2000178,7000219};
Plane Surface(7000301) = {7000300};
Line Loop(7000302) = {7000222,-3000177,-7000220,2000177};
Plane Surface(7000303) = {7000302};
Line Loop(7000304) = {3000170,-7000222,-2000170,7000216};
Plane Surface(7000305) = {7000304};
Line Loop(7000306) = {-7000220,-2000123,7000221,3000123};
Surface(7000307) = {7000306};
Line Loop(7000308) = {7000217,-3000124,-7000219,2000124};
Surface(7000309) = {7000308};
Line Loop(7000332) = {-3000165,-7000203,2000165,7000204};
Plane Surface(7000333) = {7000332};
Line Loop(7000334) = {-7000214,-2000166,7000204,3000166};
Plane Surface(7000335) = {7000334};
Line Loop(7000336) = {-3000179,-7000218,2000179,7000214};
Plane Surface(7000337) = {7000336};
Line Loop(7000338) = {-7000215,-2000167,7000214,3000167};
Plane Surface(7000339) = {7000338};
Line Loop(7000340) = {3000168,-7000217,-2000168,7000215};
Plane Surface(7000341) = {7000340};
Line Loop(7000342) = {3000169,-7000216,-2000169,7000215};
Plane Surface(7000343) = {7000342};
Line Loop(7000314) = {7000223,-3000171,-7000222,2000171};
Plane Surface(7000315) = {7000314};
Line Loop(7000316) = {3000176,-7000223,-2000176,7000221};
Plane Surface(7000317) = {7000316};
Line Loop(7000318) = {7000196,-3000172,-7000223,2000172};
Plane Surface(7000319) = {7000318};
Line Loop(7000320) = {3000175,-7000196,-2000175,7000205};
Plane Surface(7000321) = {7000320};
Line Loop(7000322) = {7000194,-3000173,-7000196,2000173};
Plane Surface(7000323) = {7000322};
Line Loop(7000324) = {-3000174,-7000194,2000174,7000195};
Plane Surface(7000325) = {7000324};


Surface Loop(7000276) = {7000240,3000154,-7000271,-7000269,-7000267,2000154};
Volume(7000277) = {7000276};

Surface Loop(7000278) = {7000234,-3000156,-7000273,7000275,-2000156,-7000271};
Volume(7000279) = {7000278};
Surface Loop(7000215) = {7000212,-3000144,7000203,7000201,7000199,-2000144};
Volume(7000216) = {7000215};
Surface Loop(7000217) = {2000142,7000214,7000205,7000212,3000142,-7000197};
Volume(7000218) = {7000217};
Surface Loop(7000219) = {7000214,7000207,-3000140,-7000209,-7000195,-2000140};
Volume(7000220) = {7000219};
Surface Loop(7000254) = {3000152,7000234,7000236,2000152,-7000251,-7000207};
Volume(7000255) = {7000254};
Surface Loop(7000256) = {2000150,7000230,3000150,-7000205,7000236,-7000232};
Volume(7000257) = {7000256};
Surface Loop(7000258) = {2000148,7000226,3000148,7000203,-7000230,7000228};
Volume(7000259) = {7000258};
Surface Loop(7000262) = {7000226,-3000146,7000222,-7000201,-2000146,7000261};
Volume(7000263) = {7000262};
Surface Loop(7000264) = {7000209,7000251,3000138,-7000240,7000242,2000138};
Volume(7000265) = {7000264};
Surface Loop(7000292) = {3000158,-7000281,7000275,2000158,-7000232,7000283};
Volume(7000293) = {7000292};
Surface Loop(7000294) = {2000162,-7000285,-7000291,3000162,-7000283,7000228};
Volume(7000295) = {7000294};
Surface Loop(7000296) = {2000164,-7000287,3000164,7000289,7000285,-7000261};
Volume(7000297) = {7000296};
Surface Loop(7000310) = {7000299,-3000187,7000305,7000303,-2000187,7000301};
Volume(7000311) = {7000310};
Surface Loop(7000312) = {2000160,-7000281,-7000307,-7000299,3000160,7000309};
Volume(7000313) = {7000312};
Surface Loop(7000344) = {7000337,-3000193,-7000333,7000289,-2000193,7000335};
Volume(7000345) = {7000344};
Surface Loop(7000346) = {3000191,7000337,7000291,-7000341,2000191,-7000339};
Volume(7000347) = {7000346};
Surface Loop(7000348) = {2000189,7000341,3000189,-7000343,7000301,7000309};
Volume(7000349) = {7000348};
Surface Loop(7000326) = {7000269,3000181,-7000321,7000323,7000325,2000181};
Volume(7000327) = {7000326};
Surface Loop(7000328) = {7000317,-3000183,-7000319,-7000321,-2000183,7000273};
Volume(7000329) = {7000328};
Surface Loop(7000330) = {7000303,7000315,7000317,3000185,-7000307,2000185};
Volume(7000331) = {7000330};
//Surface Loop(7000210) = {2000144,2000142,2000140,7000195,3000140,3000142,3000144,-7000199,-7000197,-7000201,-7000203,7000205,-7000207,7000209};




Line(8000194) = {3000028,4000028};
Line(8000195) = {3000013,4000013};
Line(8000196) = {3000034,4000034};
Line(8000197) = {3000006,4000006};
Line(8000198) = {3000002,4000002};
Line(8000199) = {3000025,4000025};
Line(8000200) = {3000026,4000026};
Line(8000201) = {3000001,4000001};
Line(8000202) = {3000005,4000005};
Line(8000203) = {3000012,4000012};
Line(8000204) = {3000027,4000027};
Line(8000205) = {3000015,4000015};
Line(8000206) = {3000008,4000008};
Line(8000207) = {3000004,4000004};
Line(8000208) = {4000023,3000023};
Line(8000209) = {3000024,4000024};
Line(8000210) = {3000003,4000003};
Line(8000211) = {3000011,4000011};
Line(8000212) = {4000010,3000010};
Line(8000213) = {3000007,4000007};
Line(8000214) = {3000033,4000033};
Line(8000215) = {3000029,4000029};
Line(8000216) = {3000031,4000031};
Line(8000217) = {3000016,4000016};
Line(8000218) = {3000014,4000014};
Line(8000219) = {3000018,4000018};
Line(8000220) = {3000019,4000019};
Line(8000221) = {3000017,4000017};
Line(8000222) = {3000032,4000032};
Line(8000223) = {3000030,4000030};

Transfinite Line{8000204,8000214,8000215,8000216,8000203,8000218,8000202,8000217,8000213,8000201,8000210,8000200,8000209,8000212,8000199,8000208,8000198,8000219,8000207,8000211,8000197,8000206,8000220,8000221,8000195,8000205,8000194,8000196,8000223,8000222} = 5 Using Power 1.0;


Line Loop(8000194) = {-4000134,-8000199,3000134,8000198};
Plane Surface(8000195) = {8000194};
Line Loop(8000196) = {-8000199,-3000133,8000200,4000133};
Plane Surface(8000197) = {8000196};
Line Loop(8000198) = {-8000200,-3000132,8000201,4000132};
Plane Surface(8000199) = {8000198};
Line Loop(8000200) = {-8000201,-3000103,8000210,4000103};
Plane Surface(8000201) = {8000200};
Line Loop(8000202) = {-4000125,-8000210,3000125,8000209};
Plane Surface(8000203) = {8000202};
Line Loop(8000204) = {-3000126,8000209,4000126,8000208};
Plane Surface(8000205) = {8000204};
Line Loop(8000206) = {-4000127,8000208,3000127,8000207};
Plane Surface(8000207) = {8000206};
Line Loop(8000208) = {8000207,-4000101,-8000198,3000101};
Plane Surface(8000209) = {8000208};
Line Loop(8000211) = {4000136,-8000209,-3000136,8000200};
Plane Surface(8000212) = {8000211};
Line Loop(8000213) = {-8000208,-4000135,-8000199,3000135};
Plane Surface(8000214) = {8000213};
Line Loop(8000221) = {-8000201,-3000107,8000202,4000107};
Plane Surface(8000222) = {8000221};
Line Loop(8000225) = {4000131,-8000213,-3000131,8000210};
Plane Surface(8000226) = {8000225};
Line Loop(8000227) = {-4000116,8000212,3000116,8000213};
Surface(8000228) = {8000227};
Line Loop(8000229) = {4000130,8000212,-3000130,8000209};
Plane Surface(8000230) = {8000229};
Line Loop(8000231) = {4000115,8000212,-3000115,8000211};
Surface(8000232) = {8000231};
Line Loop(8000233) = {4000114,-8000211,-3000114,8000206};
Surface(8000234) = {8000233};
Line Loop(8000235) = {3000129,8000211,-4000129,8000208};
Plane Surface(8000236) = {8000235};
Line Loop(8000239) = {-4000105,-8000197,3000105,8000206};
Plane Surface(8000240) = {8000239};
Line Loop(8000241) = {-8000197,-3000104,8000198,4000104};
Plane Surface(8000242) = {8000241};

Line Loop(8000250) = {-4000128,-8000207,3000128,8000206};
Plane Surface(8000251) = {8000250};
Line Loop(8000260) = {4000106,-8000202,-3000106,8000213};
Surface(8000261) = {8000260};
Line Loop(8000266) = {8000195,-4000108,-8000197,3000108};
Plane Surface(8000267) = {8000266};
Line Loop(8000268) = {-4000110,-8000195,3000110,8000205};
Plane Surface(8000269) = {8000268};
Line Loop(8000270) = {-4000111,-8000205,3000111,8000206};
Plane Surface(8000271) = {8000270};
Line Loop(8000272) = {-8000221,-3000118,8000205,4000118};
Surface(8000273) = {8000272};
Line Loop(8000274) = {-8000221,-3000120,8000211,4000120};
Plane Surface(8000275) = {8000274};
Line Loop(8000280) = {-8000221,-3000117,8000217,4000117};
Plane Surface(8000281) = {8000280};
Line Loop(8000282) = {3000121,8000217,-4000121,8000212};
Plane Surface(8000283) = {8000282};
Line Loop(8000284) = {-8000218,-3000112,8000213,4000112};
Plane Surface(8000285) = {8000284};
Line Loop(8000286) = {-4000109,-8000203,3000109,8000202};
Plane Surface(8000287) = {8000286};
Line Loop(8000288) = {-8000203,-3000113,8000218,4000113};
Plane Surface(8000289) = {8000288};
Line Loop(8000290) = {-4000119,-8000217,3000119,8000218};
Surface(8000291) = {8000290};
Line Loop(8000298) = {-4000122,-8000219,3000122,8000220};
Plane Surface(8000299) = {8000298};
Line Loop(8000300) = {4000178,-8000216,-3000178,8000219};
Plane Surface(8000301) = {8000300};
Line Loop(8000302) = {8000222,-4000177,-8000220,3000177};
Plane Surface(8000303) = {8000302};
Line Loop(8000304) = {4000170,-8000222,-3000170,8000216};
Plane Surface(8000305) = {8000304};
Line Loop(8000306) = {-8000220,-3000123,8000221,4000123};
Surface(8000307) = {8000306};
Line Loop(8000308) = {8000217,-4000124,-8000219,3000124};
Surface(8000309) = {8000308};
Line Loop(8000332) = {-4000165,-8000203,3000165,8000204};
Plane Surface(8000333) = {8000332};
Line Loop(8000334) = {-8000214,-3000166,8000204,4000166};
Plane Surface(8000335) = {8000334};
Line Loop(8000336) = {-4000179,-8000218,3000179,8000214};
Plane Surface(8000337) = {8000336};
Line Loop(8000338) = {-8000215,-3000167,8000214,4000167};
Plane Surface(8000339) = {8000338};
Line Loop(8000340) = {4000168,-8000217,-3000168,8000215};
Plane Surface(8000341) = {8000340};
Line Loop(8000342) = {4000169,-8000216,-3000169,8000215};
Plane Surface(8000343) = {8000342};
Line Loop(8000314) = {8000223,-4000171,-8000222,3000171};
Plane Surface(8000315) = {8000314};
Line Loop(8000316) = {4000176,-8000223,-3000176,8000221};
Plane Surface(8000317) = {8000316};
Line Loop(8000318) = {8000196,-4000172,-8000223,3000172};
Plane Surface(8000319) = {8000318};
Line Loop(8000320) = {4000175,-8000196,-3000175,8000205};
Plane Surface(8000321) = {8000320};
Line Loop(8000322) = {8000194,-4000173,-8000196,3000173};
Plane Surface(8000323) = {8000322};
Line Loop(8000324) = {-4000174,-8000194,3000174,8000195};
Plane Surface(8000325) = {8000324};


Surface Loop(8000276) = {8000240,4000154,-8000271,-8000269,-8000267,3000154};
Volume(8000277) = {8000276};


Surface Loop(8000278) = {8000234,-4000156,-8000273,8000275,-3000156,-8000271};
Volume(8000279) = {8000278};
Surface Loop(8000215) = {8000212,-4000144,8000203,8000201,8000199,-3000144};
Volume(8000216) = {8000215};
Surface Loop(8000217) = {3000142,8000214,8000205,8000212,4000142,-8000197};
Volume(8000218) = {8000217};
Surface Loop(8000219) = {8000214,8000207,-4000140,-8000209,-8000195,-3000140};
Volume(8000220) = {8000219};
Surface Loop(8000254) = {4000152,8000234,8000236,3000152,-8000251,-8000207};
Volume(8000255) = {8000254};
Surface Loop(8000256) = {3000150,8000230,4000150,-8000205,8000236,-8000232};
Volume(8000257) = {8000256};
Surface Loop(8000258) = {3000148,8000226,4000148,8000203,-8000230,8000228};
Volume(8000259) = {8000258};
Surface Loop(8000262) = {8000226,-4000146,8000222,-8000201,-3000146,8000261};
Volume(8000263) = {8000262};
Surface Loop(8000264) = {8000209,8000251,4000138,-8000240,8000242,3000138};
Volume(8000265) = {8000264};
Surface Loop(8000292) = {4000158,-8000281,8000275,3000158,-8000232,8000283};
Volume(8000293) = {8000292};
Surface Loop(8000294) = {3000162,-8000285,-8000291,4000162,-8000283,8000228};
Volume(8000295) = {8000294};
Surface Loop(8000296) = {3000164,-8000287,4000164,8000289,8000285,-8000261};
Volume(8000297) = {8000296};
Surface Loop(8000310) = {8000299,-4000187,8000305,8000303,-3000187,8000301};
Volume(8000311) = {8000310};
Surface Loop(8000312) = {3000160,-8000281,-8000307,-8000299,4000160,8000309};
Volume(8000313) = {8000312};
Surface Loop(8000344) = {8000337,-4000193,-8000333,8000289,-3000193,8000335};
Volume(8000345) = {8000344};
Surface Loop(8000346) = {4000191,8000337,8000291,-8000341,3000191,-8000339};
Volume(8000347) = {8000346};
Surface Loop(8000348) = {3000189,8000341,4000189,-8000343,8000301,8000309};
Volume(8000349) = {8000348};
Surface Loop(8000326) = {8000269,4000181,-8000321,8000323,8000325,3000181};
Volume(8000327) = {8000326};
Surface Loop(8000328) = {8000317,-4000183,-8000319,-8000321,-3000183,8000273};
Volume(8000329) = {8000328};
Surface Loop(8000330) = {8000303,8000315,8000317,4000185,-8000307,3000185};
Volume(8000331) = {8000330};
//Surface Loop(8000210) = {3000144,3000142,3000140,8000195,4000140,4000142,4000144,-8000199,-8000197,-8000201,-8000203,8000205,-8000207,8000209};


// lignes couche 4->5

Line(9000194) = {4000028,5000028};
Line(9000195) = {4000013,5000013};
Line(9000196) = {4000034,5000034};
Line(9000197) = {4000006,5000006};
Line(9000198) = {4000002,5000002};
Line(9000199) = {4000025,5000025};
Line(9000200) = {4000026,5000026};
Line(9000201) = {4000001,5000001};
Line(9000202) = {4000005,5000005};
Line(9000203) = {4000012,5000012};
Line(9000204) = {4000027,5000027};
Line(9000205) = {4000015,5000015};
Line(9000206) = {4000008,5000008};
Line(9000207) = {4000004,5000004};
Line(9000208) = {5000023,4000023};
Line(9000209) = {4000024,5000024};
Line(9000210) = {4000003,5000003};
Line(9000211) = {4000011,5000011};
Line(9000212) = {5000010,4000010};
Line(9000213) = {4000007,5000007};
Line(9000214) = {4000033,5000033};
Line(9000215) = {4000029,5000029};
Line(9000216) = {4000031,5000031};
Line(9000217) = {4000016,5000016};
Line(9000218) = {4000014,5000014};
Line(9000219) = {4000018,5000018};
Line(9000220) = {4000019,5000019};
Line(9000221) = {4000017,5000017};
Line(9000222) = {4000032,5000032};
Line(9000223) = {4000030,5000030};

nb9           = 7;
pwd9          = 1.5;
Transfinite Line{9000204,9000214,9000215,9000216,9000203,9000218,9000202,9000217,9000213,9000201,9000210,9000200,9000209,-9000212,9000199,-9000208,9000198,9000219,9000207,9000211,9000197,9000206,9000220,9000221,9000195,9000205,9000194,9000196,9000223,9000222} = nb9 Using Power pwd9;


Line Loop(9000194) = {-5000134,-9000199,4000134,9000198};
Plane Surface(9000195) = {9000194};
Line Loop(9000196) = {-9000199,-4000133,9000200,5000133};
Plane Surface(9000197) = {9000196};
Line Loop(9000198) = {-9000200,-4000132,9000201,5000132};
Plane Surface(9000199) = {9000198};
Line Loop(9000200) = {-9000201,-4000103,9000210,5000103};
Plane Surface(9000201) = {9000200};
Line Loop(9000202) = {-5000125,-9000210,4000125,9000209};
Plane Surface(9000203) = {9000202};
Line Loop(9000204) = {-4000126,9000209,5000126,9000208};
Plane Surface(9000205) = {9000204};
Line Loop(9000206) = {-5000127,9000208,4000127,9000207};
Plane Surface(9000207) = {9000206};
Line Loop(9000208) = {9000207,-5000101,-9000198,4000101};
Plane Surface(9000209) = {9000208};
Line Loop(9000211) = {5000136,-9000209,-4000136,9000200};
Plane Surface(9000212) = {9000211};
Line Loop(9000213) = {-9000208,-5000135,-9000199,4000135};
Plane Surface(9000214) = {9000213};
Line Loop(9000221) = {-9000201,-4000107,9000202,5000107};
Plane Surface(9000222) = {9000221};
Line Loop(9000225) = {5000131,-9000213,-4000131,9000210};
Plane Surface(9000226) = {9000225};
Line Loop(9000227) = {-5000116,9000212,4000116,9000213};
Surface(9000228) = {9000227};
Line Loop(9000229) = {5000130,9000212,-4000130,9000209};
Plane Surface(9000230) = {9000229};
Line Loop(9000231) = {5000115,9000212,-4000115,9000211};
Surface(9000232) = {9000231};
Line Loop(9000233) = {5000114,-9000211,-4000114,9000206};
Surface(9000234) = {9000233};
Line Loop(9000235) = {4000129,9000211,-5000129,9000208};
Plane Surface(9000236) = {9000235};
Line Loop(9000239) = {-5000105,-9000197,4000105,9000206};
Plane Surface(9000240) = {9000239};
Line Loop(9000241) = {-9000197,-4000104,9000198,5000104};
Plane Surface(9000242) = {9000241};

Line Loop(9000250) = {-5000128,-9000207,4000128,9000206};
Plane Surface(9000251) = {9000250};
Line Loop(9000260) = {5000106,-9000202,-4000106,9000213};
Surface(9000261) = {9000260};
Line Loop(9000266) = {9000195,-5000108,-9000197,4000108};
Plane Surface(9000267) = {9000266};
Line Loop(9000268) = {-5000110,-9000195,4000110,9000205};
Plane Surface(9000269) = {9000268};
Line Loop(9000270) = {-5000111,-9000205,4000111,9000206};
Plane Surface(9000271) = {9000270};
Line Loop(9000272) = {-9000221,-4000118,9000205,5000118};
Surface(9000273) = {9000272};
Line Loop(9000274) = {-9000221,-4000120,9000211,5000120};
Plane Surface(9000275) = {9000274};
Line Loop(9000280) = {-9000221,-4000117,9000217,5000117};
Plane Surface(9000281) = {9000280};
Line Loop(9000282) = {4000121,9000217,-5000121,9000212};
Plane Surface(9000283) = {9000282};
Line Loop(9000284) = {-9000218,-4000112,9000213,5000112};
Plane Surface(9000285) = {9000284};
Line Loop(9000286) = {-5000109,-9000203,4000109,9000202};
Plane Surface(9000287) = {9000286};
Line Loop(9000288) = {-9000203,-4000113,9000218,5000113};
Plane Surface(9000289) = {9000288};
Line Loop(9000290) = {-5000119,-9000217,4000119,9000218};
Surface(9000291) = {9000290};
Line Loop(9000298) = {-5000122,-9000219,4000122,9000220};
Plane Surface(9000299) = {9000298};
Line Loop(9000300) = {5000178,-9000216,-4000178,9000219};
Plane Surface(9000301) = {9000300};
Line Loop(9000302) = {9000222,-5000177,-9000220,4000177};
Plane Surface(9000303) = {9000302};
Line Loop(9000304) = {5000170,-9000222,-4000170,9000216};
Plane Surface(9000305) = {9000304};
Line Loop(9000306) = {-9000220,-4000123,9000221,5000123};
Surface(9000307) = {9000306};
Line Loop(9000308) = {9000217,-5000124,-9000219,4000124};
Surface(9000309) = {9000308};
Line Loop(9000332) = {-5000165,-9000203,4000165,9000204};
Plane Surface(9000333) = {9000332};
Line Loop(9000334) = {-9000214,-4000166,9000204,5000166};
Plane Surface(9000335) = {9000334};
Line Loop(9000336) = {-5000179,-9000218,4000179,9000214};
Plane Surface(9000337) = {9000336};
Line Loop(9000338) = {-9000215,-4000167,9000214,5000167};
Plane Surface(9000339) = {9000338};
Line Loop(9000340) = {5000168,-9000217,-4000168,9000215};
Plane Surface(9000341) = {9000340};
Line Loop(9000342) = {5000169,-9000216,-4000169,9000215};
Plane Surface(9000343) = {9000342};
Line Loop(9000314) = {9000223,-5000171,-9000222,4000171};
Plane Surface(9000315) = {9000314};
Line Loop(9000316) = {5000176,-9000223,-4000176,9000221};
Plane Surface(9000317) = {9000316};
Line Loop(9000318) = {9000196,-5000172,-9000223,4000172};
Plane Surface(9000319) = {9000318};
Line Loop(9000320) = {5000175,-9000196,-4000175,9000205};
Plane Surface(9000321) = {9000320};
Line Loop(9000322) = {9000194,-5000173,-9000196,4000173};
Plane Surface(9000323) = {9000322};
Line Loop(9000324) = {-5000174,-9000194,4000174,9000195};
Plane Surface(9000325) = {9000324};


Surface Loop(9000276) = {9000240,5000154,-9000271,-9000269,-9000267,4000154};
Volume(9000277) = {9000276};


Surface Loop(9000278) = {9000234,-5000156,-9000273,9000275,-4000156,-9000271};
Volume(9000279) = {9000278};
Surface Loop(9000215) = {9000212,-5000144,9000203,9000201,9000199,-4000144};
Volume(9000216) = {9000215};
Surface Loop(9000217) = {4000142,9000214,9000205,9000212,5000142,-9000197};
Volume(9000218) = {9000217};
Surface Loop(9000219) = {9000214,9000207,-5000140,-9000209,-9000195,-4000140};
Volume(9000220) = {9000219};
Surface Loop(9000254) = {5000152,9000234,9000236,4000152,-9000251,-9000207};
Volume(9000255) = {9000254};
Surface Loop(9000256) = {4000150,9000230,5000150,-9000205,9000236,-9000232};
Volume(9000257) = {9000256};
Surface Loop(9000258) = {4000148,9000226,5000148,9000203,-9000230,9000228};
Volume(9000259) = {9000258};
Surface Loop(9000262) = {9000226,-5000146,9000222,-9000201,-4000146,9000261};
Volume(9000263) = {9000262};
Surface Loop(9000264) = {9000209,9000251,5000138,-9000240,9000242,4000138};
Volume(9000265) = {9000264};
Surface Loop(9000292) = {5000158,-9000281,9000275,4000158,-9000232,9000283};
Volume(9000293) = {9000292};
Surface Loop(9000294) = {4000162,-9000285,-9000291,5000162,-9000283,9000228};
Volume(9000295) = {9000294};
Surface Loop(9000296) = {4000164,-9000287,5000164,9000289,9000285,-9000261};
Volume(9000297) = {9000296};
Surface Loop(9000310) = {9000299,-5000187,9000305,9000303,-4000187,9000301};
Volume(9000311) = {9000310};
Surface Loop(9000312) = {4000160,-9000281,-9000307,-9000299,5000160,9000309};
Volume(9000313) = {9000312};
Surface Loop(9000344) = {9000337,-5000193,-9000333,9000289,-4000193,9000335};
Volume(9000345) = {9000344};
Surface Loop(9000346) = {5000191,9000337,9000291,-9000341,4000191,-9000339};
Volume(9000347) = {9000346};
Surface Loop(9000348) = {4000189,9000341,5000189,-9000343,9000301,9000309};
Volume(9000349) = {9000348};
Surface Loop(9000326) = {9000269,5000181,-9000321,9000323,9000325,4000181};
Volume(9000327) = {9000326};
Surface Loop(9000328) = {9000317,-5000183,-9000319,-9000321,-4000183,9000273};
Volume(9000329) = {9000328};
Surface Loop(9000330) = {9000303,9000315,9000317,5000185,-9000307,4000185};
Volume(9000331) = {9000330};
//Surface Loop(9000210) = {4000144,4000142,4000140,9000195,5000140,5000142,5000144,-9000199,-9000197,-9000201,-9000203,9000205,-9000207,9000209};

Transfinite Surface {:};
Recombine Surface {:};
Transfinite Volume {:};

//Entites physiques

Physical Volume(501) = {6000345,6000347,6000297,6000295,6000293,6000279,6000277,6000329,6000327,6000263,6000216,6000259,6000257,6000255,6000265,6000220,6000218};//tole

Physical Volume(500) = {6000349,6000313,6000331,6000311,7000345,7000347,7000297,7000295,7000293,7000279,7000277,7000329,7000327,7000263,7000216,7000259,7000257,7000255,7000265,7000220,7000218,7000349,7000313,7000331,7000311,9000345,9000347,9000297,9000295,9000293,9000279,9000277,9000329,9000327,9000263,9000216,9000259,9000257,9000255,9000265,9000220,9000218,9000349,9000313,9000331,9000311,8000345,8000347,8000349,8000313,8000311,8000331,8000329,8000327};//air


Physical Volume(502) = {8000297,8000295,8000293,8000279,8000277};//ind

Physical Volume(550) = {8000263,8000216,8000218,8000220,8000265,8000255,8000257,8000259}; //boite air

Physical Surface(603) = {2000181,2000154,2000183,2000138,2000140,2000142,2000144,2000146,2000156,2000158,2000162,2000164,2000148,2000152,2000150,2000193,2000191,6000341,6000281,6000281,6000317}; //skintole up


Physical Surface(1001) = {7000323,7000319,7000315,9000315,8000315,8000319,9000319,8000323,9000323,7000335,8000335,9000335,7000339,8000339,9000339,7000343,8000343,9000343,7000305,8000305,9000305,5000185,5000183,5000181,5000154,5000154,5000156,5000160,5000158,5000162,5000191,5000150,5000152,5000148,5000146,5000144,5000142,5000140,5000138,5000189,5000187,5000193,5000164};//gh0

Physical Surface(600) = {8000289,8000279,8000309,8000299,8000269,8000273,8000307,8000240,8000234,8000232,8000228,8000261,3000164,3000164,4000164,3000162,4000162,3000158,4000158,3000156,4000156,3000154,4000154,3000160,4000160}; //skinind

Physical Surface(700) = {8000287};
Physical Surface(701) = {8000267};

Physical Surface(601) = {8000232,8000234,8000228,8000261,8000240};
Physical Surface(602) = {4000146,4000148,4000150,4000152,4000138,4000140,4000142,4000144};
Physical Surface(801) = {6000323};
Physical Surface(802) = {6000335};







